package tec;

public final class FabriquePassager{

	public static Usager faireReposCalme(String nom,int destination){
	    Comportement c=(Comportement)new Calme();
		Usager u=(Usager)new Repos(nom,destination,c);
		return u;
	}
	
	public static Usager faireReposNerveux(String nom,int destination){
		Comportement c=(Comportement)new Nerveux();
		Usager u=(Usager)new Repos(nom,destination,c);
		return u;
	}

	public static Usager faireReposPrudent(String nom,int destination){
		Comportement c=(Comportement)new Prudent();
		Usager u=(Usager)new Repos(nom,destination,c);
		return u;
	}

	public static Usager faireReposAgoraphobe(String nom,int destination){
		Comportement c=(Comportement)new Agoraphobe();
		Usager u=(Usager)new Repos(nom,destination,c);
		return u;
	}
	
	public static Usager faireReposPoli(String nom,int destination){
		Comportement c=(Comportement)new Poli();
		Usager u=(Usager)new Repos(nom,destination,c);
		return u;
	}
	
	public static Usager faireTetuCalme(String nom,int destination){
		Comportement c=(Comportement)new Calme();
		Usager u=(Usager)new Tetu(nom,destination,c);
		return u;
	}
	
	public static Usager faireTetuNerveux(String nom,int destination){
		Comportement c=(Comportement)new Nerveux();
		Usager u=(Usager)new Tetu(nom,destination,c);
		return u;
	}

	public static Usager faireTetuPrudent(String nom,int destination){
		Comportement c=(Comportement)new Prudent();
		Usager u=(Usager)new Tetu(nom,destination,c);
		return u;
	}

	public static Usager faireTetuAgoraphobe(String nom,int destination){
		Comportement c=(Comportement)new Agoraphobe();
		Usager u=(Usager)new Tetu(nom,destination,c);
		return u;
	}
	
	public static Usager faireTetuPoli(String nom,int destination){
		Comportement c=(Comportement)new Poli();
		Usager u=(Usager)new Tetu(nom,destination,c);
		return u;
	}
	
	public static Usager faireFatigueCalme(String nom,int destination){
		Comportement c=(Comportement)new Calme();
		Usager u=(Usager)new Fatigue(nom,destination,c);
		return u;
	}
	
	public static Usager faireFatigueNerveux(String nom,int destination){
		Comportement c=(Comportement)new Nerveux();
		Usager u=(Usager)new Fatigue(nom,destination,c);
		return u;
	}

	public static Usager faireFatiguePrudent(String nom,int destination){
		Comportement c=(Comportement)new Prudent();
		Usager u=(Usager)new Fatigue(nom,destination,c);
		return u;
	}

	public static Usager faireFatigueAgoraphobe(String nom,int destination){
		Comportement c=(Comportement)new Agoraphobe();
		Usager u=(Usager)new Fatigue(nom,destination,c);
		return u;
	}
	
	public static Usager faireFatiguePoli(String nom,int destination){
		Comportement c=(Comportement)new Poli();
		Usager u=(Usager)new Fatigue(nom,destination,c);
		return u;
	}
	public static Usager faireSportifCalme(String nom,int destination){
		Comportement c=(Comportement)new Calme();
		Usager u=(Usager)new Sportif(nom,destination,c);
		return u;
	}
	
	public static Usager faireSportifNerveux(String nom,int destination){
		Comportement c=(Comportement)new Nerveux();
		Usager u=(Usager)new Sportif(nom,destination,c);
		return u;
	}

	public static Usager faireSportifPrudent(String nom,int destination){
		Comportement c=(Comportement)new Prudent();
		Usager u=(Usager)new Sportif(nom,destination,c);
		return u;
	}

	public static Usager faireSportifAgoraphobe(String nom,int destination){
		Comportement c=(Comportement)new Agoraphobe();
		Usager u=(Usager)new Sportif(nom,destination,c);
		return u;
	}
	
	public static  Usager faireSportifPoli(String nom,int destination){
		Comportement c=(Comportement)new Poli();
		Usager u=(Usager)new Sportif(nom,destination,c);
		return u;
	}
} 
